<?php

 
#(4)xml空对象
$simplexml = simplexml_load_string('');
var_dump(boolval($simplexml));